﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BSC.report
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            rpt_cost_revenues rpt = new rpt_cost_revenues();

            rpt.SetDataSource(AccessLayer.fact_costs_revenuesDAO.Get(null,null));
            CrystalReportViewer1.ReportSource = rpt;
            rpt.Refresh();
            CrystalReportViewer1.RefreshReport();
        }
    }
}
